package cn.trda.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.trda.pojo.Systemconfig;
import cn.trda.util.MySqlPageUtil;

public interface AsSystemconfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Systemconfig record);

    int insertSelective(Systemconfig record);

    Systemconfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Systemconfig record);

    int updateByPrimaryKey(Systemconfig record);
    
    List<Systemconfig> selectByConfigType(Integer configType);
    List<Systemconfig> getSystemConfigByConfigType(Systemconfig systemconfig);
    
    Integer getCount(Integer configtype)throws Exception;
	List<Systemconfig> getSystemConfigByPage(@Param("SystemConfig")Systemconfig systemConfig,@Param("pt")MySqlPageUtil pt)throws Exception;
	Integer selectMaxTypeValueByConfigType(Systemconfig systemConfig)throws Exception;
	int addSystemConfig(Systemconfig systemConfig)throws Exception;
	Integer deleteSystemConfigById(Systemconfig systemConfig)throws Exception;
	Systemconfig getSystemConfigById(Long id)throws Exception;
	int updateSystemConfig(Systemconfig systemconfig)throws Exception;
	
	
	
	
	
	
}